﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TankDemo
{
    public partial class FormLogins : Form
    {
        public FormLogins()
        {
            InitializeComponent();
        }

        private void txtAccount_MouseClick(object sender, MouseEventArgs e)
        {
            if (txtAccount.Text== "请输入用户名")
            {
                txtAccount.Text = "";
            }
        }

        private void txtPassword_Click(object sender, EventArgs e)
        {
            if (txtPassword.Text== "请输入密码")
            {
                txtPassword.Text = "";
            }
        }
    }
}
